package TeamR3.entity;

import java.io.Serializable;

public class MyJsonObject implements Serializable{
	 private int code;
	 private String message;
	 private Object object;
	public MyJsonObject(int code, String message) {
		this.code = code;
		this.message = message;
	}
	public MyJsonObject(int code, String message, Object object) {
		this.code = code;
		this.message = message;
		this.object = object;
	}
	
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Object getObject() {
		return object;
	}
	public void setObject(Object object) {
		this.object = object;
	}
	@Override
	public String toString() {
		return "MyJsonObject [code=" + code + ", message=" + message
				+ ", object=" + object + "]";
	}
}
